<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="Teams.aspx.vb" Inherits="Teams" title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="RightContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="maincontent" Runat="Server">
    <h1>Here are your BYU Intramural Teams</h1>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
        <Columns>
            <asp:BoundField DataField="captainID" HeaderText="captainID" SortExpression="captainID" />
            <asp:BoundField DataField="teamName" HeaderText="teamName" SortExpression="teamName" />
            <asp:BoundField DataField="teamLogo" HeaderText="teamLogo" SortExpression="teamLogo" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        SelectCommand="SELECT [captainID], [teamName], [teamLogo] FROM [af_Teams] ORDER BY [teamName], [captainID]">
    </asp:SqlDataSource>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="adBox" Runat="Server">
</asp:Content>

